package com.cdtye.shuoh.controller.device;

import com.cdtye.common.webcore.web.AjaxJson;
import com.cdtye.shuoh.service.device.DeviceLocationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * @Author: wangzhong
 * @Date: 2023/9/7 14:08
 * @Description:
 **/
@RestController
@RequestMapping("/deviceLocation")
public class DeviceLocationController {

    @Autowired
    private DeviceLocationService deviceLocationService;

    /**
     * getDeviceLocationList
     * @return
     */
    @GetMapping("/getDeviceLocationList")
    public AjaxJson pageList(){
        return AjaxJson.success(deviceLocationService.getDeviceLocationList());
    }
}
